package com.ruoyi.airspaceFlight.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 放飞申请对象 t_release_fly_apply
 * 
 * @author ruoyi
 * @date 2023-11-06
 */
@Data
public class ReleaseFlyApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String releaseApplyId;

    /** 放飞申请编号 */
    @Excel(name = "放飞申请编号")
    private String releaseApplyCode;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 飞手名称 */
    @Excel(name = "飞手名称")
    private String flyingHand;


    /** 航空器型号 */
    @Excel(name = "航空器型号")
    private String aircraftId;

    /** 飞行开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "飞行开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 飞行结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "飞行结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 任务性质 */
    @Excel(name = "任务性质")
    private String taskNature;

    /** 飞行计划申请id */
    @Excel(name = "飞行计划申请id")
    private String flyApplyId;


    /** 放飞申请状态(0:待申请,1:审核中,2:已通过,3:未通过) */
    @Excel(name = "放飞申请状态(0:待申请,1:审核中,2:已通过,3:未通过)")
    private Integer releaseStatus;

    private String approvalRemark;

//    public void setReleaseApplyId(String releaseApplyId)
//    {
//        this.releaseApplyId = releaseApplyId;
//    }
//
//    public String getReleaseApplyId()
//    {
//        return releaseApplyId;
//    }
//    public void setReleaseApplyCode(String releaseApplyCode)
//    {
//        this.releaseApplyCode = releaseApplyCode;
//    }
//
//    public String getReleaseApplyCode()
//    {
//        return releaseApplyCode;
//    }
//    public void setFlyApplyId(String flyApplyId)
//    {
//        this.flyApplyId = flyApplyId;
//    }
//
//    public String getFlyApplyId()
//    {
//        return flyApplyId;
//    }
//    public void setReleaseStatus(Integer releaseStatus)
//    {
//        this.releaseStatus = releaseStatus;
//    }
//
//    public Integer getReleaseStatus()
//    {
//        return releaseStatus;
//    }
//
//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("releaseApplyId", getReleaseApplyId())
//            .append("createBy", getCreateBy())
//            .append("createTime", getCreateTime())
//            .append("updateBy", getUpdateBy())
//            .append("updateTime", getUpdateTime())
//            .append("releaseApplyCode", getReleaseApplyCode())
//            .append("flyApplyId", getFlyApplyId())
//            .append("releaseStatus", getReleaseStatus())
//            .toString();
//    }
}
